<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>未登录</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f9f9f9;
        }
        .container {
            position: relative;  /*设置相对定位，方便内部绝对定位的按钮*/
            width: 400px;
            text-align: center;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        h1 {
            color: #333;
        }
        p {
            color: #666;
            margin: 10px 0 20px;
        }
        .link {
            position: absolute; /* 设置绝对定位 */
            bottom: 10px;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 5px;
        }
        .link:hover {
            background-color: #45a049;
        }
        .link-left {
            left: 10px; /* 定位到左下角 */
        }
        .link-right {
            right: 10px; /* 定位到右下角 */
        }
    </style>
</head>
<body>
<div class="container">
    <h1>您尚未登录，请先登录！</h1>
    <a href="/login" class="link link-left">前往登录</a>
</div>
</body>
</html>